﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wnl.aspx.cs" Inherits="NetWebControl.ControlTest.OA.wnl" %>

<%@ Register assembly="ARS" namespace="ARS.Control.Custom.Calendar.Widget" tagprefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../Scripts/jquery-1.4.1.min.js"></script>


</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <cc1:Calendar ID="Calendar1" runat="server">
        </cc1:Calendar>
    </form>
</body>
</html>
    <script type="text/javascript" >
        //alert(ARS_Calendar_Calendar1.CustomStyle());
        //var ARS_Calendar_Calendar1 = new ARS_Calendar('2014/8/12');
        //ARS_Calendar_Calendar1.CustomStyle = function(date, X) {
        //    //alert(12);
        //    //var json = '2014-06-11';
        //    //alert(new Date(json).getDate());
        //    //if ()

        //    $("#div_g_2").css("color", "#9400D3");
        //};
        ARS_Calendar_Calendar1.RefreshCallBack = function() {
            $("#div_g_2").css("color", "#9400D3");
            $("#div_g_3").css("color", "#9400D3");
        };
        
        ARS_Calendar_Calendar1.Refresh();
</script>